Follow the previous comment, suggest:
put this block
```js
if (enabledKeyboardNames.indexOf(currentKeyboardName) == -1) { 
}
```
at the top of `showKeyboard()`.

Do you think this is better?