working & functional income statement generator that reformats when a lock button is pressed