Added setOptions to checkboxgroup