Fix regexp for theme changes