Adding common lifecycle events
Setting up a more complex layout and consuming elements in the activity