changed the add item functionality to be an on "enter" event instead of a click event