graphicsProvider: simplify code.
calendarGUI: remove unnecessary declarations.
calendarProvider: do not waste time always trying to create a folder when adding an event. Instead detect when file creation is failing and only then create the folder.
Remove unneeded function calls.