[HELP] Toggle Buttons on Tableview Row

Good day !

Im having a hard time figuring this out, but im out of ideas, can you help me with this? 

I just borrowed this project to someone else. ©

I have a tableview, and i want to delete a row using button that hide/show when row is pressed.

But if i click a different row, the button still shown.

How can i hide the previous button? Thanks in advance. =)

Can you please post some code? thanks

Can you please post some code? thanks