Adds support for local notifications and refactors interaction between view controllers