Fixed bug where changing key settings didnt apply immediately