Fixed additem function to use value instead of name to lookup the parent category. Value makes much more sense as it is the actual return value of the form