When toggling check boxes, only redraw if the value actually changed.

Prevents spurious redraws when switching between tabs with different
check box values.