Adds class to next button.