I am trying to use the code from here: https://community.flutterflow.io/c/community-custom-widgets/post/custom-action-to-check-internet-connection-lPJQna2jaSjmPhe but I don't know how to use it. I have added a custom action. Should I check everytime an action is performed (e.g. a button is clicked, an API is called?)? What is the correct process for applying this custom function?