Is an apology valid if the behaviour doesn't change?
That depends on if the apology was for something that happened in the past and there was no promise of it not happening again. The apology and the promise not to re-offend are 2 different things. In my experience, If you keep allowing the offending behavior to continue, without consequence, that gives permission to continue offending.