DateChooser is used both by the event editor and the main window. Moving it to common for a better file organization.