Created an AsyncFilter class that applies the filter using an AsyncTask