Switch prefset to new API, added simple example of receiving list of preferences