Exercises lifecycle

Lifecycle activity in android