You can store the current color of the button in the state and just switch its value when the button is clicked. Something like this:
確定! 回上一頁