Updated logging in "App Lifecycle Events demo"