Add loading animation on search and widget load