Add loading spinner for pending