set nearest beaacon to nil when app terminates
Merge branch 'similarity'