add shared preference example