Change attributes from 'theme' to 'flat_theme'