Cancel button added to transaction functionality