You set the ID for each scene using a non-hidden number attribute and for each scene enter the level number. Then when the level is completed, replace the value at the position representing that number.
[replace item # [level number] with [number of stars] in [level scores]]
(the main block is under Attributes > Lists)
Level number is the number of the current level, number of stars is 0-3, and level scores is the name of the list.