Are you sure you have the causality right? Based on my own experience, it seems possible that whatever causes you to start eating processed food also causes your depression. And that having the bandwidth to make your own food only happens when the thing that causes your depression is gone.