fixing button and row formatting
adding class to variable