Fixed the enterStockButtonListener bug report.