Disable 'generate' button when generating