- Checked if changes applied when inventory is chosen or if the sale is chosen
- upon checking the changes did take effect
- modify the code for fixing and to take effect the changes for inventory and sale