Adds a preference for notification sound volume

Sorry for the delay. I must say that I'm not sure whether a function is a good idea for this, since it pollutes the global namespace. Was there a specific reason for choosing a function over a static class method?