add set_active method to ensure that you can set a stateful action correctly