Typo causes NameError when pressing the left arrow key.

Looks like a typo occurred when the name of a dictionary was changed from data to settings. This was causing the left arrow key to throw an exception.