I am trying to customize an icon button by having three different border colors - one for the regular state, one for when hovering, and another for when the icon is clicked. Currently, I am working with React and have a function that checks if the current button is selected, which works for the regular and clicked states. However, I am facing an issue with the onHover color as it overrides the clicked border color, making it difficult to distinguish the active button. How can I address this problem effectively?