Toggling betewen editing mode
Persisting key editing