void () { super.doOKAction(); if (myOptimizeImports.isEnabled()) { myLastRunSettings.saveOptimizeImportsState(isOptimizeImports()); } myLastRunSettings.saveCodeCleanupState(isCodeCleanup()); if (myRearrangeEntriesCb.isEnabled()) { myLastRunSettings.saveRearrangeCodeState(isRearrangeCode()); } if (myOnlyChangedText.isEnabled()) { myLastRunSettings.saveProcessVcsChangedTextState(getTextRangeType() == VCS_CHANGED_TEXT); } }