init perference for settings