Change Event's constructor and implementation with respect to endTime.
Create NewEventPanel.