`setCheckboxView` prevents a NullPointerException when accessing the `CheckBox` subsequently.