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

All AudioSessionGet/Set Properties need to be replaced.