Fixed issue keeping app from running in phone