set and saved values to xml