Displaying the right check/uncheck button in advanced search tab