When we want to add a custom button to a list toolbar we can add it by using a feature.But when we are activating the feature it will be apply to the scope secified, so all the lists present inside the scope will have a button added to it's toolbar. But if we want to add the button to a particular list then we need to specify the content type ID of the list.

Hope you find this tips useful and of assistance. For more detail, please visit: http://www.mindfiresolutions.com/How-to-add-a-menu-button-to-a-specific-sharepoint-list-toolbar-851.php