Fix menu enabled state for editor options, save CodeInspection changes