Add background fetch and local notification function.
Merge remote-tracking branch 'github/master'