move code to onViewChanged
Merge branch 'master' of https://github.com/tog000/appathon_athena