Swiftui Widget Button, To define an action that can be executed by the widget extension we need to use an AppIntent.