Refactor FlightDataActivty.java

Refactor FlightDataActivty.java