Fix a bug with sample application resulting in null pointer on back press.
Merge pull request #92 from box/FixSampleApp

Fix a bug with sample application resulting in null pointer on back pres...