added activities' lifetime and intents

still not working!