finish to edit category