Changed id's of UI elements and fixed error in MainActivity.java