- made dialogs more iOS7 style
- change width for iPad version
- resolve issue with wrong shadow layer for iOS 6
- made refactoring
- add #define constants
- add some comments