Update SecondActivity.java

exercise for activity lifecycle