Bug calendar selecting

Fix for issue #66 "Calendar is selectable while 'end date and time' is not checked".