I have an option in my app to change the background color. If I select a cell, press the back button, change the color, and select the cell again, this is what happens:

![Glitch](https://i.stack.imgur.com/XqJlw.jpg)

Why does the border thing keep the color from the background of the first time it was selected and how do I fix this? (It resets after the app is closed or anything)