It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.
This error arises from adding the spotlight component to the application.
In the Clicked event call your custom procedure
Remove the ShowSpotlight method from the Click event…
You already use it in your custom procedure