Correct UI Thread conflict

Only main thread can modify the UI or the error: Only the original thread that created a view hierarchy can touch its views.