Fix the CheckBoxListEntry.

The single static listener does not work when reusing the code.
Fix warnings.