Changed listener implementation for before and after view change
Optimized imports
Merge pull request #4 from mheinola/navigator

Merge listener changes to build