Fix issue #13 GalleryActivity does not save editor mode in instance state.