fix delete function of category list, and rearrange category edit page