Redesigned ManageChartDialog and changed the Data class