Added addcontact and sendmail functions in ContactFragment.java