Support for custom switch labels and confirm