@Override
 public void onActivityCreated(Bundle savedInstanceState) {
   alfSession = SessionUtils.getSession(getActivity());
   SessionUtils.checkSession(getActivity(), alfSession);
   super.onActivityCreated(savedInstanceState);
   setRetainInstance(true);
 }
 @Override
 public void onListItemClick(ListView l, View v, int position, long id) {
   super.onListItemClick(l, v, position, id);
   CloudNetwork network = (CloudNetwork) l.getItemAtPosition(position);
   Account currentAccount = SessionUtils.getAccount(getActivity());
   if (currentAccount != null
       && !currentAccount.getRepositoryId().equals(network.getIdentifier())) {
     ActionManager.reloadAccount(getActivity(), currentAccount, network.getIdentifier());
   }
 }