Create spin function for buttons.