Share edit implementation.
Remove pressKey helper method.