refactored TaskViewController