Fix singleplayer cancel button

Fix game crash when clicking cancel on singleplayer screen twice