I found many articles regarding the error I am getting, I know we can only update UI from the main thread only. Let me tell you the whole error I am getting: