shared preferences and clean images