added loading icon
fixed advanced mode