refactored dialog creation and added DialogFragments

- notices.xml now has to be inside res/raw folder
- refs #1