Canvas API working with table view and detail view