I think this will do two preference reads every time a character is typed, which is pretty inefficient. Want to store that value somewhere else and only grab it once per time the activity is in focus?