[jason, Evgeny] added deleteLastTransaction to history