Fixed bug with saving state
String edit