fixed use of changed colors in popwin