Update Bluetooth-Main_Activity.java

1.Cleaned up the code to make it more aesthetically pleasing. 
2.Added onStop() and onDestroy() functions. 
3.Changed where connectedThread.start() gets called in hope that it fixes the inputstream problem.