Fixed an issue with the graphical interface not updating correctly when values are changed programmatically