add switchbutton control