Update gui.py

Update widget allowed by function setUpdateTimer.