fixed the setBackground problem (API level issue)