Fixed bug in which ensuring an app installed successfully did not work