Practice with lifecycle of activity