Corrects a remaining bug of the previous commit and cleans up the charts of accounts change listener of the HTML client