MainActivity ui update, change to ensure it runs on the main thread,
allows for safe updating of the ui from secondary thread