add buttons with attributed title