Add class to bar item text