- made the transaction editable.
- refactored some of the codes, to make it more efficient.