update the empty string in the shared preferences