refactor functions: chooseSize, addToCart, buyNow in CheckOutScenario.java