fixing buttons to reset dropdown menu after click.