Fixed broken theme support in console application (#298)