added beacon URL according their range catches
handled situation if one beacon already identified
handled ok and cancel buttons