Implemented saving system based on database. It works.