Added categories, fixed a bug where a new result blurs a field in results page, thus unintentionally saving the result.