Adding an event to the calendar