Make it easier to run a continuation on UI thread

It's often needed to run code on the UI thread after a task is finished. Currently thats only possible with an explicitely defined executor that runs code on the UI thread. This adds unneeded code in the application. To make easier for application developers I added two methods to directly run code on the UI thread.