try to preserve old preferenes on upgrade
Merge pull request #677 from garvankeeley/fix-prefs

try to preserve old prefs on upgrade