Added loading spinner to button in case of slow page load