some refactoring up EditPickTaskActivity