private ToggleItemState removeItem(final int pos) {
        if (pos < 0 || pos >= segments.size()) {
            return ToggleItemState.ERROR_NO_POINT;
        }
        distance -= segments.get(pos).getDistance();
        segments.remove(pos);
        calculateNavigationRoute(pos);
        if (pos < segments.size()) {
            calculateNavigationRoute(pos + 1);
        }
        return ToggleItemState.REMOVED;
    }
@param item item to be added or removed
@return ToggleItemState
main/src/main/java/cgeo/geocaching/models/IndividualRoute.java