Added 'loading' functionality for generate button