Edited MainActivity and DeviceConnectionActivity to send reference to a
BluetoothSocket