There should be a "Save" button that appears once you make any changes? Clicking on the Edit/Pencil button again would leave edit mode without saving (AFAIK).