Fix bug wherein example app would crash on first run

When I cloned the repo it crashed immediately when I tried to run it. This serves to alleviate that issue.