change safety editor state when editing safety property;just like add a
"*" to the title of file