added flush_rewrite_rules on Theme switch