calendar state is saved