saving gameTime and updating bestTime when appropriate