recreate activity after theme has changed. fixed #764