The random re-triggering will almost certainly be due to electrical noise from the switch action.
If this problem is being exhibited when testing the circuit (using a switch to trigger the timer), I suggest you test the circuit in final application, with the BMS providing the trigger signal and see how it performs.
If you Google ‘switch deboucing’ you will find various switch configurations to combat the effect. Probably the simplest is to place a capacitor across the switch contacts – adding impedance in the debounce circuit can improve things further (with the switching having the time constant of the circuit capacitor and impedance).
If this problem is being exhibited when testing the circuit (using a switch to trigger the timer), I suggest you test the circuit in final application, with the BMS providing the trigger signal and see how it performs.
If you Google ‘switch deboucing’ you will find various switch configurations to combat the effect. Probably the simplest is to place a capacitor across the switch contacts – adding impedance in the debounce circuit can improve things further (with the switching having the time constant of the circuit capacitor and impedance).

