added loading widget to analyze