I added toggle buttons on the access form like (YES or NO). How to save a value in the table, pressing on the respective buttons
<p>I added toggle buttons on the MS ACCESS 2016 Form like (YES or NO). How to save a value in the table, pressing on the respective buttons and one more action is required, when I press the button change the colour (YES - "GREEN", NO - "RED"). Please help me with this.</p>

<p><a href="https://i.stack.imgur.com/Rn95Z.png" rel="nofollow noreferrer">enter image description here</a></p>