Fix not to assign `self` on some table view delegate methods.

And fix example which has this issue.