fixed bug with deleting and reentering same categoryname, fixed longclick