Fixed a bug where the app would crash on resume
Merge pull request #2 from justjanne/pr/bugfix-crash-on-resume

Fixed a bug where the app would crash on resume