Filtering based on preferences, refactored arraylistadapter to reuse cells