added a try block in the registerBitcoinWithFF function