Make sure the view is loaded before calling viewWillAppear:
Merge pull request #343 from 0xced/fix-view-not-loaded

Make sure the view is loaded before calling viewWillAppear: