Fixed annoying generation bug

Basically, if any generation was cancelled, you could never create
another sudoku board without refreshing the page.