Add detail view and fix the segue