Bug fixed: Plot settings works only for last plot
Fixed some buggs