changed restart button can see when game over and hide after restarting game