Added rotation when button is clicked.