Can i use "UseState"?

Indeed. Thank you. I was able to do what i wanted.