Adding loading spinner.