add STATE: prefix to mode change log entries