private void ShowMyApprovals() { if (myApprovalsList == null || myApprovalsList.Count < 1 || ifRefresh) { ShowProgressBar(); Task.Factory.StartNew(() => { myApprovalsList = VSTSService.GetMyApprovals(); }).ContinueWith(async(Task t) => { await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { myApprovalsLV.ItemsSource = myApprovalsList; HideProgressBar(); }); }); } else { myApprovalsLV.ItemsSource = myApprovalsList; HideProgressBar(); } }