Added changelog and fixes compile errors with preferences