Update for Issue #23 Update button giving 2 dialogs

TucoSolo's suggested correction is accurate.
Also updated the formatting for consistency
Merge pull request #37 from KaroWeirsider/main

Update for Issue #23 Update button giving 2 dialogs