Fixed retrieval from the UI task queue