(CS) Add automatic save function for fact view