Removed old debug code causing calendar to open on start