Shows the lifecycle of an activity