Make a copy of list before iterating over

About #417
The method unlinkTableSelectionListening update the map linkedEditableElements then we have to create a copy of the values before iterating over.