Fixed app to use autolayout.