CHANGED:applied the gameover scene functions