add app entry background and foreground event