Fix issue #101 User can press 'edit' in gallery while loading animation.