@Override public void onInitialized() { updateConnections(false); AccountManager.getInstance() .onAccountsChanged(new ArrayList<String>(AccountManager.getInstance().getAllAccounts())); }