updating the InfoBarItem class to the new api.