code: private void configureStateAuth() {
          setIsControlEnable(authButton, false);
          if(isAuthenticated()) {
              authStatusLabel.setText(I18nLabelsLoader.ADDON_LOGIN_STATUS_OK);
              setDefaultButton(nextButtonName, true);
              if(userPasswordText.getText() != null && userPasswordText.getText().length() == 0) {
                  userPasswordText.setText("********");
              }            
              setDefaultButton(authButton, false);
              setDefaultButton(cancelButtonName, false);
              setDefaultButton(nextButtonName, true);
          } else if (gotCommunicationError) {
              // leave previous state
              setIsControlEnable(authButton, true);
              setDefaultButton(cancelButtonName, true);
          }
      }
docs: ##########################################################################