view controller displays data of todo item