Fix crash when pressing back while the NetworkTask is active (DetailView)