added title attributes to buttons