Add class btn-danger on click on generate-btn