How to trigger function on the click of Solution Button

Looks like a good solution :+1: