Event handling for clicking a date on the fullcalendar