disabled restart button when game is in the waiting state