Fix not work after entering backgroung and relaunch.