Fix generate id unique on adding a contact