Refactoring search options panel.