Update use of PreferencesManager to remove deprecation warnings

These changes prevent the 3 deprecated warnings that show in the dev console when the extension loads.

I also set the default value to 'true' to enable the white-space when the extension is installed. I noticed that upgrading the extension to the newer method required me to re-enable it unless it's set as default true.