Added a spinner when an operation is running.