This way is only for already registered profiles who visited their notification settings. For all future users, it will require many changes in the code.