Move inline styles to class for next buttons