Bug 827893 - [Gallery] Add a contact photo from an empty gallery

* Fix bug : https://bugzilla.mozilla.org/show_bug.cgi?id=827893