Add Scene lifecycle events (activated and deactivated).