Use 1,2, and 3 to do magic. If you press 1 then after it's done you press 2 it will be fine but if you do 1 then 3, or 2 then 3 you need to press the green flag.
Notes & Credits
Also if you haven't read the books or watched the movies it will be a bit confusing.