Refactored and added clear search markers functionality