Refactor navi-drawer configuration into separated method.
Checking internet connection.