Update control function

Now you can click "Space" to start a new turn, you don't have to use
mouse to start the new turn every time.