active mode style changed