Why doesn't this restore to the detail view?