Fix crashing bug by setting nav delegate to nil in between demos.