Work on shared prefs
Fixed commit