Adding form submit to clear_all function