Prevent force closes if taskbag is changed by background refresh