Issue #2249723 by andrei.dincu: Save config variables after setting them a value in xmlsitemap.module
Issue #2249723 by andrei.dincu: Replace  and  with drupal wrappers in XmlSitemapRebuildForm