Fix app launch issue