Welcome to our forum.
My trainig and experience says that you should use the bicarbonate to correct the TA, wait 2 or more hours and then correct the pH.
For every 40 grams of bicarbonate, 1 gram of acid to nulify the effect on pH.