Added button for generating database.