background task and alert completed