Fixed issues with StockAddActivity.