[Issue #2237] Correcting documentation for URLSessionDidFinishEventsForBackgroundURLSession delegate method and reorganizing code accordingly