Bug 981942: Do not set checkbox if value is already correct to avoid ref...

...lows.

See: https://bugzilla.mozilla.org/show_bug.cgi?id=981942