Fixing bug: Upon edit, app will only register the keypress of Enter only once.