How can I simply save a number in the text field when pressing save command and retrieve read command?