Added listener that sets the atom controlled by the periodic table to the corresponding atom.