Oh, I see now that this is an existing variable. I think you should either have a separate userKeyboard variable to store the preference, or you should call setKeyboardName() here. Given that there is a function for setting this variable, I suspect that setting it directly here is not the right thing to do.  (Or if it is, add a comment explaining why you don't call setKeyboardName())