OP-1245 Added functionality to save settings as xml file.