Changing button type to avoid auto-submitting forms

When colorpicker is inside form, clicking any button will auto-submit parent form. Adding type="button" will prevent this action. More on SO: http://stackoverflow.com/questions/9824808/disable-form-auto-submit-on-button-click