Changed activity table implementation to original, still working on
'sellbuy' transaction