made changes to buttons

Don't use the data-state as selectors, since these change from page to page. Use things like :first-child.