Maybe just set contactId back to zero, and emit contactIdChanged?