Updates Activities lifecycle example.