refactor txtActivity to be used in AddWorkItemDialog