Only changes the keyboard when the setting has changed.

KanoComputing/peldins#1205
@tombettany you don't need an if statement here. Just return the condition