changed the way active class is applied, unselect selected facility upon successful pairing, closes #6