keybind fix for changing state of element