It's wrong in the sense that it won't work in every process. Given that all switches run in SpringBoard, that's not a big deal in this specific case, but it's just more noise in your pull request.