Save device identifier when connected, swicth to iOS7 SDK