fix crash when hitting back button
Merge pull request #7 from jamur2/master

fix crash when hitting back button