Extracted filter behavior to helper view class