maintain switch of theme