Moved Calendar initialization also to open() function