Third commit

> Added NetworkState Class.
> Added Cancel Key Event.
> Added Network Permission.