countdown timer triggered when game state changes