public Single<IssueFilter> removeIssueFilter(IssueFilter filter) {
        dbCache.database.getIssue_filterQueries().removeIssueFilter(filter.getId());
        for (Label label : filter.getLabels()) {
            dbCache.database.getIssue_filterQueries().removeIssueFilterLabel(
                    filter.getId(),
                    filter.getRepository().id(),
                    label.name()
            );
        }

        return Single.just(filter);
    }
Add issue filter from store
<p/>
This method may perform file I/O and should never be called on the
UI-thread

@param filter
app/src/main/java/com/github/pockethub/android/persistence/AccountDataManager.java