Fixed saving in form_state of core field template settings