Disable some code related to quickmatch button.