private async void OnRestore_Clicked(object sender, EventArgs e) { try { FileData file = await CrossFilePicker.Current.PickFile(); string filePath = file.FilePath; await dbManage.ImportDbData(filePath); } catch (Exception ex) { await DisplayAlert("Error", ex.Message, "OK"); } }