Fixed database save confirmation