Adding spinner to the button