implemented date picker
after implementing PublishEvent
before refactoring
before adding the new event to the map view