Save auto-minify setting

Save auto-minify setting by using `localStorage`.