Button listener now instantiated when document is loaded.