async Task ChooseImage() { try { SourceImage = await this.ShowImageSelectionDialog(); if (SourceImage != null) { //make sure the image is in the .Up position SourceImage.FixOrientation(); DetectionImageView.Image = SourceImage; checkInputs(); } } catch (Exception ex) { Log.Error(ex); this.HideHUD().ShowSimpleAlert("Error using image selected"); } }