add title attribute to buttons