Refactored FlightDataActivity.java

fixed the method for the buttons on the flight data screen