added waveName to app delegate
detecting last operation in the operation queue so that the push notification is sent at the end of posts operation instead of the beginning.