revised the contact list adapter