What to do to stop being demanding? It comes and goes. Where does such a tendency arise from?
Just wonder about it. When you get attention it gives you some energy and you feel elevated. When you are so centered within, then it doesn’t matter whether people’s attention is there or not, you don’t care about it.
But normally people’s attention somehow makes you feel little better. That’s why people do so many things just to draw attention from others.
Don’t worry about where this tendency arises from. If it is arising and you have watched it, then just let go and move on.