Gets selected lines from shared preferences before polling server for next departures