use overlay label to indicate operation mode
move mode indicator code to core_key