Fix init error in formatter config misc tab

Enabling a string preference sets its text, which fires all event
listeners, which in this case wanted to update the preview, which wasn't
available yet because we were still initializing: NPE.

Instead, only disable the preference (this is apparently unproblematic)
when necessary, instead of enabling it when it was already enabled.