I have 2 button and a plot.when I click on first button plot draw

And when I click on second button plot draw

Buuuuuuuut when I click again on first button plot type change.

when I click again on second button the second plot not changed.But first plot change by any click.
Best Regards.