Rendering a view when the task is done