private async void setStatus(string status) { await this.Dispatcher.RunAsync(CoreDispatcherPriority.Low, () => { txtStatus.Text = status; }); }