Added reset button & refactored updateSchedule()