User defined foreground color was not set properly if button was in pressed mode.