Trying to add event listener for when the app is ready to end the splash screen