Can application  be null at this point? Is it not the case that you can launch an app only if canLaunch is true?