void (@NotNull AnActionEvent e) { CustomActionsSchema cleanScheme = new CustomActionsSchema(null); updateLocalSchema(cleanScheme); e.getPresentation().setEnabled(mySelectedSchema.isModified(CustomActionsSchema.getInstance()) || mySelectedSchema.isModified(cleanScheme)); }