add shared preferences