Add changing color function

change to wihte when first click , then change to purple when second
click