save data when app gets terminated and in background
Fix Sets