Refactor tag selector in the taskboard and in the task view