Etching out code for handling nearest beacon changed.