Fixes Issue 7 - Change function name from addPurchase to addTranscation