Changed startForeground timing.