Added check for camera on device and alert message if no camera is present.