Refactored code to be cleaner and adhere to some standard practices for Java.  Changed minimum API level so as to work with Android 4.0+