Added spinner while waiting for searched results
Fixed spinner behaviour