register background changed