Edit preferences and New Loan functional