updated to change active beacon on selection in table
minor change