Restart bug


Fixed a bug that made it impossible to restart without refreshing the page.