fix force close on theme changes