You make a custom BreakManager by creating a new class which extends RandomSolver.
In the newly created BreakManager class you will handle the logic of when the BreakManager should be activated, you do this in the #shouldActivate method.
Make sure that you don't forget to override the OSBot Break RandomSolver with your newly created one.