fix #2585: log progress dismissed when tapping on screen

Use AsyncTaskWithProgress to factor out code at the same time.