save rpt mode and chart mode
Merge pull request #109 from benitoro/master

save rpt mode and chart mode