It's possible for boards to be unwinnable if you can't change square colors, that's why it doesn't reset. And while it is easy to brute force, it's also tedious, so I didn't try doing much to stop it.
But thanks for the feedback, I'll keep it in mind if I ever come back to update it.