Tidied up preference read