color changes fixed so the color changed on dialog 'set' button press