Fix crash when changing settings from StudyOptions screen

http://ankidroid-triage.appspot.com/view_crash?crash_id=5462051812016128