added onclick to resend message and onlongclick to delete in listview