Added support for multiple selections in task manager.