add set_active method to ensure that you can set a stateful action correctly
add get_active and ensure that set_active consistently fires the activate signal
Removed unused code and updated toggle_dynamic to use get_active