Added logging

Added Log.Debug for all the lifecycle methods and renamed DemoActivity
to SecondActivity