How can I change the css of a dropdown menu once an option is selected?