Adds some functions to manage settings form submission errors