Fixed a bug creating the pdf calendars.
Now enabled/disabled status of restrictions is saved to the project file.
Colors of courses are created randomly.