Fixed the issue with the app crashing on first hit.