It is my belief that BMI is skewed toward the lean side to favor the pharma and diet industries, so a BMI of 31 if probably healthier than you give credit for, though the low 20s is a reasonable target for people of our age. Another thing to consider os your actual BMI may be inflated due to inflamitory water retention.
I suggest discarding lentils, whole wheat bread and pasta. Firstly, lentils are high in phytoestrogens which are not good for mental health and the endocrine, and they contain high levels of linoleic acid, which interferes with cellular metabolic anti-inflammatory processes.
White unbleached and unfortified sourdough bread is far superior to whole wheat foam bread, contrary to modern guidance. Remember, industrial bread is laced with soy flour to cut cost and seed oils to reduce mixture heating and to lower energy expenditure during mechanical kneading. Germ, bran and other components of wheat are not intended for human consumption and lead to chronic inflammation (regardless of gluten). I'm not convinced industrial dried yeast is good for the immune system, and varieties of yeasts should appear in a more naturally balanced proportion in your dough to lactobacilli and other airborne bacteria and fungi.
Dried fruit and banana should more of a rarity than you probably consider moderate, perhaps once a week or two rather than daily.
I have mixed feelings about whole potatoes. Intellectually, I believe they are bad due to their high levels of carbohydrates, but it's also possible they contain significantly long enough starch chains and cause less of an insulin spike than other carbs. They don't contain seed oils, but have a nontrivial level of lectins which lead to inflammation.
Lastly, regarding dairy; from my personal experience, and from some recent things I've heard on the subject, I prefer to avoid it altogether or at least only consume it as a minority constituent of a dish. It's been found to irritate the mucosa of the esophagus and intestinal lining, may contribute to leaky gut, contains large amounts of indigestible proteins and often clogs the gastrointestinal tract.
As a rule of thumb, anything that leads to increase in insulin or general inflammation is bad. It causes water retention that is bad for overall energy levels and diverts immune response from cancerous tissue and blocks the body repair mechanisms that normally would maintain the heart, lungs, liver, and brain.