When the user switches keyboard layouts (from the keyboard itself, not from the settings app) I think we should probably set the keyboard.current setting.  That is code you'll need to add elsewhere. You'll need to be careful that we don't end up calling setKeyboardName and handleNewKeyboards() twice when that happens, though.