Added detail view and added logic to put item details in labels