pre play again button function codes