Duplicated code in butonMarkup

Hi.
I found duplicated code in buttonMarkup. Title is set twice for element when iconpos option is set.