added editing
added editing to gui
refactored to use existing helpers
modified to text field to handle all inputs for numbers