changed api to version 20
Added permission for network state access
Interface for rest call added
New Alertdialog in DialogFragment for checking networkconnection onresume