Improved AddToCartButton_Click method and added some comments