made spacebar work to restart