Fix #278: don't save prefs when previewing