cache shared prefs

Change-Id: I1253691612d7202b190f9c6f35cafa4c1a6370ca