I corrected button functionality.