@Override public void onSeekBarChanged() { survey.update( angleView.getValue(), new Altitude(altitudeView.getValue()), overlapView.getValue(), sidelapView.getValue()); try { survey.build(); altitudeView.setBackgroundColor(Color.TRANSPARENT); } catch (Exception e) { e.printStackTrace(); altitudeView.setBackgroundColor(Color.RED); } survey.getMission().notifyMissionUpdate(); }