attempt to maintain currently-selected kbd layout when modifying kbd list
attempt to maintain currently-selected kbd layout when modifying kbd list

the previous behavior would just set up the new layouts, resulting in
the first layout in the list being applied. now it should be the case
that if the current layout has not been deleted, it will continue to
remain in effect; alternatively if the current layout has been modified,
it's now more likely to be picked up and used

rvandegrift/e,rvandegrift/e,rvandegrift/e