Implemented manually setting preferences