add store and restore name, location, regexp
change ui