Linking getTimeToFly() to UI