changed target deployent version to 5 and unchecked autolayout