turn off select button by code blocks