calendar applet: Fix an error when resuming.