Added logic to clear the routes list even if there is no gps data