Added autolayout and updated UI.