Refactor AppDelegate in Mac App to include IDM prefix