added radiobutton to choose betw bubble and histogram