Highlight the active option in Action Sheets

I created an action sheet containing some options

when I select an option I want it to be highlighted.

I took the code from here

can someone help me please