Be gone, mutable state

Use an ongoing click event stream instead of a mutable variable.