- // Load data to the list (start process with an Async Task)
- mListener.refreshUsersOrGroupsListFromServer();
+ // Load data into the list
+ refreshUsersOrGroupsListFromDB();
+
+ // Request for a refresh of the data through the server (starts an Async Task)
+ if (mListener != null) {
+ mListener.refreshUsersOrGroupsListFromServer();
+ }