AddEvent window now receives true/false from database when trying to add an event.
If true, calls addEvent on Calendar.