Using task name to check which ui needs to be rendered