smaller refactorings
Merge branch 'master' of https://github.com/bitstars/SimpleUi
added some intent helper methods