I'm trying to change a GUI element before preforming a lengthy function (little icon to show its busy), but I'm not too sure how to do it.

If I make the change then start the task, GUI doesn't...