Fixed preferences method mismatch

I came across this error when building library and GUI from master in linux.