Small refactoring in the function: addContactfromvCard