Refactored FlightDataActivity.java

Refactored FlightDataActivity.java