remember rid when nfc message is received.