Changed initialization order in Schedule. Throws exception if time map i...

...s not created when adding group