Wrote most of CheckboxListener........