//Refresh the list with the items in the local database public async Task RefreshItemsFromTableAsync() { try { // Get the items that weren't marked as completed and add them in the adapter var list = await usersettingsTable.Where(userssetting => userssetting.Complete == false).ToListAsync(); adapter.Clear(); foreach (UserSettings current in list) { adapter.Add(current); } } catch (Exception e) { CreateAndShowDialog(e, "Error"); } }