Added new option in the adapter config tab to disable/re-enable it when we get a Bad state