private boolean hasCurrentAccountChanged(){
  Account account=AccountUtils.getCurrentOwnCloudAccount(this);
  if (account == null) {
    return true;
  }
 else {
    return !mOriginalCurrentAccount.equals(account.name);
  }
}

private boolean hasCurrentAccountChanged ( ) { Account account = AccountUtils . getCurrentOwnCloudAccount ( this ) ; if ( account == null ) { return true ; } else { return ! mOriginalCurrentAccount . equals ( account . name ) ; } }
checks actual current account against current accounts when the activity has been started .
