change custumAttributes to attributedTitle
update Example