reopen charts when chart type has been changed in preferences dialog