[Shared Resources] Fixed crash in address book

- Fix for bug 3920 sample 'Shared Resources' crash in address book
feature.
- We had some missing error messages for the user. Now the user has to
select a contact first end then, will be able to edit it or add new
phone numbers. With the previous solution we tried to add info to a
null contact (not selected by the user).