added an alertdialog when user is not on Wifi

AlertDialog to warn user that upload will take up a lot of bandwidth
when he's not on wifi
showing tinyUrl on main activity screen

changed to show tinyUrl only on main activity screen.
Also added init() to UrlShortener and DbManager.