Scanning for iBeacons as a background service