added a preference page to choose cipher methods.