Customize code for query view, flight schedule view