Ouch, I'm sorry this has hit you hard. It's a high priority fix. In the meanwhile, you can close the app and reopen it to be where you left off (including the same game and board state), but it's easy to accidentally surrender instead. I've done it myself once or twice.