changes shared preferences