Added loading spinner on click