Added functionality for onClose searchview