Alert disappears when sensor connected. Working on replacing deprecated functions.

All AudioSessionGet/Set Properties need to be replaced.
Fixed a bug where after headset was plugged in once it would auto start again

If the switch was thrown and no headset was present the alert would
show. If a headset was then inserted the alert would disappear as it
should. If the headset was removed and then reinserted the switch would
be thrown without user interaction. This was fixed by stopping the
timer for headset checking in the alert button callback.
Merge branch 'tone-into-MainViewController'

Conflicts:
	Headset
Sensors.xcworkspace/xcuserdata/mickben.xcuserdatad/UserInterfaceState.xc
userstate