Add saving files state.
Add saving shares state.
Add saving drawer state.
Add saving navigation state.
Fix possible connection errors.