change restart method after gameover