use int instead of bool for the button value as a preparation for a more
common button class