pixel_player91931405
Linda (theoretically) should not step side to provide access to the gift until all the tasks listed above are complete, including placing the fireworks. I don't think the green apple is necessary for that to happen.
The treasure part is inside the cabin, and unrelated to opening the gift.
The key is obtained by retrieving the green apple from the kitchen and taking it back to the portrait.