Fix example with new SDK version.

Fixed also some AutoLayout issues.