Change thememodel to inherit QAbstractListModel, and removed unnecessary roles