Losing data

Welcome to the community, @pouyaedris! This post discussed previously should help you solve your issue: