Pass arguments to the detail view and reflect changes in the list view