UDIG-2031 : Keybindings were not set, fixed NPE in preferences as well