#310
Maybe someone with better XPATH skills can make the code shorter?
!NB Fix for old GUI only!