v3.0.1 trigger toggle after setting states, fallback to $