fix countdown timer so it resets when calendar is updated