Notifications and Code Improvements

1. Added Notifications
2. Changed min API Level from 14 to 16
3. Replaced a switch block with some if blocks. Should be more stable