posts now load into sharedpreferences correctly