changed public void updateElementSelectionPanel()