check android version for HTTP client; NPE in notifications