private async void RunInUIThread(Action a) { await Dispatcher.RunAsync(CoreDispatcherPriority.High, () => a()); } }