sets up attributed title for buttons