DEN-16037: Updated - System does not Erase Treatment Logs When Folder is Full
Updated code based on CR requests
- add signals to follow device<device>StateChange and device<device>SpaceChange
- Add proper handling of the added signals (slots and connections)
- remove the added encrypted path and use settings_path() instead