Allow for turning off the keyboard with a preference

Hi @MarZab.

I like your keyboard, but for our purposes, it would be nice if we could bundle it in our kiosk, but allow it to be turned on/off with a preference. This is a patch for that.

Thanks.