Thanks for answering, what I am saying is that a toggle feature is something that toggles back to the first state after pressing a second time. When you create a toggle state, tap is already assigned, and when you tap, it toggles between the 2 states.
But when you create a toggle state and changes the assigned to a key, it does not come back to the previous state by pressing the key for the second time, you need to enter inside the toggle state and assign the key to bring the component state back to the first state.
Which works exactly the same way as a regular state.
What I am saying is that toggle should not have 2 key assignments, instead it should have only one key to toggle between the 2 states.