Invoke app lifecycle on initialization