Changed autosave approach to be triggered by keypress
Changed keypress handling to the "Angular way"