Minor corrections.
Added single dispatch in AppDelegate.