Fix crash when changing settings from StudyOptions screen