refactored FlagsEnumCheckBoxPanel