smart and normal cast batch toggle buttons