Button for browse image now working. Some refactoring on the MainActivity.java