In my iOS app - I have something called settings where I set the priority for X , Y ,Z ; eg: X = 30, Y = 60 , Z = 80.
which have some default value (X=50,Y=50 and Z =50) for the first time and untill user changes it to desired value.
Basically user can change the priority N number of times and whenever he changes I just need to update the default values with changed value.
What I need is to save the changed value so, that when he logs in next time he should see his changed values and not default values.