Refactor
Add a switch so multiple sales/buys cannot be made in a row