iPad App hangs on Scanning for Devices