Added support for themes in the simulator