add setbackgroundcolor for pagestate