This is a demo on how to use the shared preferences in Android