Nil delegates in dealloc to prevent a crash when delegate is deallocated while the page is changing