Update for Issue #23 Update button giving 2 dialogs

TucoSolo's suggested correction is accurate.
Also updated the formatting for consistency