Showing loading spin only after 200 milliseconds and if work is still in progress