diff --git a/src/tanklabgui.jl b/src/tanklabgui.jl
index 41019d16197da6594560a7b0a4202b543593ecf0..1ea274af796c60f44549291c8d2a08252fa70155 100644
--- a/src/tanklabgui.jl
+++ b/src/tanklabgui.jl
@@ -27,9 +27,9 @@ function makegui(P, run_process, plottingframerate = 10, guiframerate = 10)
         u      in slider(0:0.01:1, label=" um"),
         run    in button("Run"), #This should only exist in the simulated version
         cali   in button("Calibrate"),
-        K      in slider(0:0.1:50, label="K"),
-        Ti     in slider(0:0.1:50, label="Ti"),
-        Td     in slider(0:0.1:50, label="Td"),
+        K      in slider(0:0.1:30, label="K"),
+        Ti     in slider(0:0.1:30, label="Ti"),
+        Td     in slider(0:0.1:30, label="Td"),
         mode   in togglebuttons(["Manual", "Automatic"], label=""),
         tankno in togglebuttons(["Upper", "Lower"], label=""),
         pOn    in togglebuttons(["On", "Off"], label="P"),
@@ -117,6 +117,12 @@ function makegui(P, run_process, plottingframerate = 10, guiframerate = 10)
         end
     end
 
+    on(observe(iOn)) do val
+        if val=="Off"
+            tankpid.I = 0
+        end
+    end
+
     # Below is the construction of the gui DOM
     LabGUI.set!(gui, widgets)
     add!(gui, rcont)