Function replaceKeybinding