void () { SelectTemplateSettings settings = SelectTemplateSettings.getInstance(); settings.EXPERT_MODE = myExpertDecorator.isExpanded(); if (mySettingsStep != null) { mySettingsStep.onStepLeaving(); } }