Setting update interval from gui.