change the color of icon when click