Switching between tasks && progress bar fix