repair method onSetWallpaper