Add shared preference demo