Change the value of Preferences by user

In this example you will learn how can a user change the preferences value by the user value.