changed gotoGoal() in MainActivity.java