Preferences ID cleanups - Part II

I checked the code after #3018 and I noticed that `ViewCommandHandlers.js` wasn't using the latest `getClientId` function, probably because the latest changes on both where merged close in time, and that `UpdateNotification.js` was still using the old id.