activated the second activity and restored the saved state of an instance