Use viewWillAppear to avoid showing the previous data.

Closes #26.