Bugfix MCMS-23: Handle CmisPermissionDeniedException when auto-deleting files
Bugfix MCMS-17: avoid endless loop when updating the main menu by checking the enabled state before setting it.