Bluetooth fix, updated project to build with new android studio versions.