updated theme and focus state