Fixed problem when changing from offline mode to online mode and the calendars stayed readonly.

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