Successfully added attributes to buttons