Fix bug after the player win the game. First the game won screen will appear and after that the result will be submitted.