Add transaction type when saving a transaction