added setType method for BootstrapButton