Converting [button]

Transitioning towards new method
Check cats in main function

If the category isn't there, add it. Otherwise, move on. Also converted
[box] to new method.