Bug 1020766 - fix [Flatfish][Gallery]Gallery app shows last-deleted photo in  the preview window

https://bugzilla.mozilla.org/show_bug.cgi?id=1020766