Changed code to reflect the latest changes in the AddressBook framework