How do you make a button permanentely change its color?

here is my situation: a button is normally red. when you click it, the color permanentely changes to blue. how do i do that? thanks in advance!!:slight_smile: