more work on filter tab. Known issues: adding categories remove name when creating new filter and duplicate categories when moving them in edit mode