private async void AddUser() { try { ActivityIndicatorTitle = "Adding user. Please wait."; IsBusy = true; var result = await FirebaseService.AddUserAsync(_userName, _userId, _password); if (result) { await DialogService.DisplayAlertAsync("Success!", "User successfully added.", "OK"); } else { await DialogService.DisplayAlertAsync("Error", "Error occurred while adding user. Please try again.", "OK"); } } finally { IsBusy = false; } }