sharedpreferences now deletes the correct post