I double the loop.
Instead of putting the black tab through the loop, put the loop between the cords under the black tab first then the loop over the black tab. This secures it more and even if it comes loose it doesn't ever loosen enough for the cord to come off completely.
I hope this makes sense!! If not I'll post some pictures..