fixed re-enabling viewfinder button when a photo was taken