In 40 moves we have to unwrap 100 gifts: 50 blue and 50 orange. Yet there are a bunch of ghosts down the laddered bottom rows, and they are free and not even part of the objective. The quickest way of dealing with them, is singling out parts of the grid and separating them from their fellow ghosts. Focus on dealing with the ghosts at first with a match-3 here and there, and hold out those four-in-a-row combinations for later.
After 15 to 20 turns, more or less, all of the ghosts will be gone. And in the meantime, part of your objective would have been accomplished. Just continue with as many special gift combinations as you can, and try to line them up across the grid. Use the Color Spray if you have to, yet the objective is still achievable without a booster.