Fixed UI not changing issue - all UI changes must be made on the main thread to take effect immediately.