Fix error + reset input when adding contact