buttons toggle with input