Beacons are saved in an array in nsuserdefaults.