Fixed a bug where enter keypress would trigger both onkeypress and onblur events, leading to 2 categories being created. The enter keypress would trigger resetPrompt, causing promptField to lose focus. This in turn would cause onblur to trigger as well.