sets correct indexHandler for ScheduleController