added reset button on spacebar after game ends