styling and functionality of statistics widget change