Fix calendar refresh