Fix 403 error on prefrences form submit
Merge pull request #352 from PierreRust/fixPreferenceSubmit

Fix 403 error on preferences form submit