adds class for button name
changes tags for better formatting