Changing structure for buttons