added check if authorized, it was crashing on my mom’s phone because we didn’t have the computer authorize the use of address book. it had worked on ours because previously it had that code, it just must have been deleted