Adding an editable detail view