Fix for menu-pref saving.