private async void updateUser(Account acountSelected) { if (acountSelected != null) { userDb.AccountName = acountSelected.AccountName; userDb.AccountType = acountSelected.AccountType; userDb.AccountNumber = acountSelected.AccountNumber; await database.UpdateData(userDb, dbpath); } }