Remove unused code and add iBeacon preference