I\'m trying to create an app that has a button on the frontend dashboard for starting execution of a function and stoping execution of a function. So is there any way to do the