Adding quantity available and deleting unused UI code