redundant call of setApplicationParameters in iOS