Added game state events handler.