recognize changes in dropdown menu