Prefs are loaded when the window is opened, not when the tab is activated