Added re-pairing functionality