Added Calendar extraction template code in ScheduleActivity