private async void CloseTask_Button_Clicked(object sender, System.EventArgs e) { TaskHelper.CloseTask(_task.Id); await DisplayAlert("Wow!", "Task was closed successfully", "OK"); await Navigation.PushAsync(new TasksListPage()); }