Added keybinding to methods for deciding which trajectory should be taken.