Changed minSdkVersion to 14 because of BluetoothSocket.isConnected()