Saving user preferences
Save and load data from a xml file