added feature of editing and saving notes