Example of using UI fragment to handling network errors (https://stackoverflow.com/questions/36054212)