ISIS-537 Do not keep reference to the active theme provider because it keeps a ref to the theme and it is not serializable