save rpt mode and chart mode