This is blocking the UI thread, but if I use GlobalScope then the UI would\'t be blocked.
lifecycleScope.launch { activity?.runOnUiThread {