Use EditorType.getinstance instead of fromKey
Change way to read keymap preference