Updated BasicApp to work with newer DeviceManager code