Fix CustomBackgroundTask, add ShowLogActivityTest