In my code below user can select a color and add it to a dynamic table. qty of the selected colors is displayed on every row and total qty of all colors is displayed at the bott