public static bool TryInvokeOnUIThread(AppCallbackItem item, bool waitUntilDone) { item(); return true; }