implemented storage of schedule in app delegate