Move setFilterFolder to NativityControl. Refactor Java code. SF Mac code.