Fixed the showing of score at the end of the game