Get threshold each time there's an update

I removed this because I thought it was inefficient, but I've just realised that the reason I had that there in the first place was that otherwise you couldn't really change the threshold -- not without killing the Service somehow first.

I might still move some of this out of the event listener to improve efficiency.