The function name is kind of weird to me, the `enable` is a verb, I think it should be a noun or adjective, how about `updateEnablingState`?