New xp bar logic