Click event works, but colors don't