add loading icon and service to turn it on or off