Created the calendar handler