Fixed the way the app is initializing the SDK