Renamed methods in ui component, utility to add a loading icon to a view.