better implementation of address book selector