async void Handle_Clicked(object sender, System.EventArgs e) { if (Validates.validateSearch(fromCity, toCity)) { await Navigation.PushAsync(new ShowFlightsPage(this.repositoryList, toCity, fromCity, datePicker.Date)); } else { await App.Current.MainPage.DisplayAlert("Alert", "Fill all fields", "OK"); } }