Added reset button, changed behavior of editing