shared preferences added for current image