Fixed issue with theme manager. (Bug #3)