Changing #button-type to #button_type