Only save settings when settings form was submitted