Add setAllBlockDisable function