Add remember quote functionality to history