Yes, you're right. You can press ESC and then press restart to solve it. I'll probably not develop this game anymore, so if you wanna continue, you'll have to do this that way :)