Styled chart and added button listeners