modified history manager and preference manager