Small update for TaskComponent

Include preferred size