Some questions with buttons

Hello.
I want to create a button (not a rectangle; a form created with the pen tool) that can change it’s **gradient. **Let’s say that initially the button has a black-white gradient and when I press another button the gradient changes to reb-blue. How can I do this?