updating sharedpreferences compatability with autocompletion text