Updated SampleActivity