@Override
      public void setToBeShown(boolean value, int exitCode) {
        GeneralSettings.getInstance().setConfirmExit(value);
      }
@Override
      public void setToBeShown(boolean value, int exitCode)