refactored filter select tag and filter action in controller