contactView: added deleteContact() function