Fix toggle when creating new modules