closing ActivityTwo using an intent
saving the current state of an insatance