delete old updatePredState method
refactor settings code
refactor custombutton code
refactor appdelegate code
refactor viewcontroller code
Merge pull request #115 from OwenMcGirr/develop

major refactoring