Fixed bug where not having a transaction category would crash transactionAdd