Added spinner to button when loading