Fix app launch crash and disabled app launch.