Fixed the deleteStocksButtonListener bug.