Completing android SampleApp + fix update view on resume