Modified the detail view to only show the selected item.