Revert "Remove wait from delete_selection"

This reverts commit 78823a896459b44ddc871ff50c12628037612483.
Update system tray after pause.