toggle state via popup and load prefs and set defaults on initialization