No, you should not spray on the flashing light, lens and screen.
For IPX7 waterproof protection, you just need to make sure that you open the case, spray on the battery, PCB board, all electronic parts and openings. Just like the picture below. After spraying and waiting for 15 minutes, you can clean the excess spray liquid, reassemble your device and it is ready for use.