Refactored newtaskdetail vc