Fix add category glitches

Fixes #344
Fixes #343
Fixes #342