Fixed issue #160: rotating device while activating theme causes activate/preview buttons to reset