prepare sharedprefs