This avoids a potential problem where the app crashes after adding the contact but before adding the transport keys, leaving the contact unusable.