cleanup restock button code.