presets remember the last setting after page refresh, cleand up a bit