restored endgameactivity