Bugfix Android activity lifecycle

Only set to restart if EGL is not created or destroyed.