added spinner to buttons