Using patterns in address book and to-do list