Only changes the keyboard when the setting has changed.

KanoComputing/peldins#1205
@alex5imon Why don't you need it? This function compares the stored setting with the one that we are trying to store