Fixed calendar bug: create new calendar after closing previously.