Now the rows contain:
"Advanced", "123.50", "ABCD"
"Advanced", "", ""
"Advanced", "", ""
user adds one row manually
"Basic", "234.50", "XYZ"
And now click on "insert" button twice, so the table would be:
"Advanced", "123.50", "ABCD"
"Advanced", "", ""
"Advanced", "", ""
"Basic", "234.50", "XYZ"
"Basic", "", ""
"Basic", "", ""
(I think this makes my problem a little more clear)