swiftBeacon enter/leave working