Remove timer when game is finished
Fix template initialization