Adding replace color functionality