It still has some green leaves so there is still some hope.
I you suspect the soil is part of the problem you should change the soil. The tree cannot get better if it is still subject to the problem that caused the illness. Now should be a good time and looks like you have nothing to lose.