bug fixed when user clicks on parent's button without measurements selected