In the widget's HTML, make an HTTP GET call to /api/me/settings and parse the response to see the value of dailyDigestFreqOptions. Actually, /api/me/settings will only return a redirection URL, but you can replace that with the URL to your actual username instead /api/user/julian/settings.
Then customize your widget as you see fit... maybe only show the widget if the user has daily digest set to off. Otherwise, show <a href="/me/settings" class="btn btn-primary">Subscribe to Digest</a>
@Joenel-de-Asis172 That is actually the best way to do it. 👍
The other way would be to remove that html from the profile template in your theme. However, unless you are making your own custom theme, your changes may get overwritten when the theme updates.