style switching based on todo state