Fixing bugs

Changed the way ‘add new category’ works. Eliminated blank entries and
fixed bug where you’d lose data entered when adding new cat