Check app notification setting

Also updated library for compatibility with latest android build tools.