Reset pid when off and make it togglable