Fix misc

* Support new api on webview fragment
* Close connection
* Delete unused code
* Support android studio 0.9.1