Executes callback item on UI thread.
public static void InvokeOnUIThread(AppCallbackItem item, bool waitUntilDone) { item(); }