Allcrash fixes

Many improvements in one.
Feel free to merge this branch! :+1: 

- fix warnings
- fix crash for 64-bit devices. (i saw many not working examples here in pull requests)
- fix measurement picker in ios 7 ( it not looks fine, but it not crash app now! )
- design fixes for ios7