Added loading spinner while filtering