Refactoring. Adding toasts to display network error messages and system up to date