Adds buttons to view