Repro steps:
- Start new game
- Switch to "Board setup" mode
- Place a stone
- Switch back to "Play" mode
- Resign
- Tap "More Game Actions" button
- From the menu select "Board setup"
- Either a) place a stone, or b) discard all setup stones, or c) set a side to play first (from the "More Game Actions" menu)
Expected: Game state should be reverted to "in progress" (from "has ended" with reason "resigned by ...") and the board setup operation succeeds.
Actual: The game state is not reverted to "in progress" and the app crashes.