This code can be used to understand the simple shared preference.