Remove duplicate code

Refs #7560
Refactor to remove unused function.

Refs #7560
Show plot when ws is changed in fitPropertyBrowser.

Plus some refactoring.

Refs #7560
Solved problems with not applying plot style and not attaching PP tool.

Refs #7560
Merge remote-tracking branch 'origin/feature/7560_plot_update_on_ws_change'