removed code that deletes old apps
error checking for BitcoinKit