Fixed problem when changing to allday event and when modifying an all day event.
Fixes Bug 238, 229, 162

Signed-off-by: Michel <info@1st-setup.nl>