@Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   initFields();
   setUpActionBarWithUpButton();
   addActions();
 }
 @Override
 protected void onFailAction(String action) {
   super.onFailAction(action);
   if (QBServiceConsts.LOGOUT_CHAT_FAIL_ACTION.equals(action)
       || QBServiceConsts.LOGIN_FAIL_ACTION.equals(action)) {
     hideProgress();
     finish();
   }
 }
 @Override
 public boolean onOptionsItemSelected(MenuItem item) {
   switch (item.getItemId()) {
     case R.id.action_done:
       if (checkNetworkAvailableWithError()) {
         changePassword();
       }
       break;
     default:
       super.onOptionsItemSelected(item);
   }
   return true;
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   removeActions();
 }