I believe it's no longer called UIBackgroundModes in iOS5 and xCode 4.2. What's the updated method in the info plist?
Apple documentation shows that it's still supported under iOS5 with a couple of new iOS5-specific keys. Open Info.plist and type "UIBackgroundModes" into key field. That should be enough.