I extracted the strings in the view used in the dropdown list (so "Default" could be translated), which means looking up the keymapping using a hash won't work with a translated word.  This changes it to look up by index instead.