PauseDialog class, MainWorldManagger : onPause && onResume