Calling Button Click Method From a Background Task

Hi Fellow Coders,
Bharat_Android_App_Develo has really provided me a useful example of Background task.
And It is supposed to work with all events of the app UI.
This actually notifies when the network connects or disconnects in the background.
I have tried to call a Click method of a Button Using a Button1 Component but nothing happens.


NetworkCheckerButtonClick.aia (504.4 KB)

Kindly someone try or give me another solution for it. Thanks.