What is the effect you are getting? How many items does extraSelections have before line #22? Is the cursor for each of the selections set properly?