In this example is shown how to replace the default task window.