Disable View Image button while generating