Add log messages for activity lifecycle
Add contract between data model and view