Fixed a bug with creating a new file and keybindings