Fixed TaskView to use the new coding standards

Change-Id: Idba4282bbd40964b26570c28a6ec2ec66955ca81