private boolean save() {
    try {
      var value = Integer.parseInt(content.newValueField.getText());
      EditMemorySettingsService.getInstance().save(myOption, value);
      return true;
    }
    catch (IOException e) {
      Messages.showErrorDialog(content.newValueField, IoErrorText.message(e), OptionsBundle.message("cannot.save.settings.default.dialog.title"));
      return false;
    }
  }
private boolean save()