Furtherimplementation of the save function for presentations