Added a loading animation while searching is in progress.