changed list as output widget to styledtext